/*
 * lombo_wdt.h - Generic definitions for LomboTech Watchdog Driver
 *
 * Copyright (C) 2016-2020, LomboTech Co.Ltd.
 * Author: lomboswer <lomboswer@lombotech.com>
 *
 * This program is free software; you can redistribute it and/or modify
 * it under the terms of the GNU General Public License version 2 as
 * published by the Free Software Foundation.
 *
 * This program is distributed in the hope that it will be useful,
 * but WITHOUT ANY WARRANTY; without even the implied warranty of
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
 * GNU General Public License for more details.
 *
 * You should have received a copy of the GNU General Public License along
 * with this program; if not, write to the Free Software Foundation, Inc.,
 * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
 */

#ifndef __LOMBO_WDOG_H__
#define __LOMBO_WDOG_H__

#include <linux/module.h>
#include <linux/moduleparam.h>
#include <linux/types.h>
#include <linux/timer.h>
#include <linux/miscdevice.h>
#include <linux/watchdog.h>
#include <linux/init.h>
#include <linux/platform_device.h>
#include <linux/interrupt.h>
#include <linux/clk.h>
#include <linux/uaccess.h>
#include <linux/io.h>
#include <linux/slab.h>
#include <linux/err.h>
#include <linux/of.h>
#include <linux/reboot.h>
#include <linux/delay.h>

#ifdef CONFIG_ARM
#include <asm/system_misc.h>
#endif
#include <mach/debug.h>

#if defined(CONFIG_ARCH_LOMBO_N7V1)
#include "csp/v1/wdt_operate.h"
#else
#include "csp/v2/wdt_operate.h"
#endif

#undef MOD_NAME
#define MOD_NAME "WDT"

#endif /* __LOMBO_WDOG_H__ */
